<template>
  <div class="worldManage">
    <SearchWorldForm />
    <section class="btns">
      <el-button type="primary" @click="goAddWorld">新增世界</el-button>
      <el-button>批量导入</el-button>
      <el-button>模板下载</el-button>
    </section>
    <SearchWorldTable />
  </div>
</template>
<script>
import SearchWorldForm from "@/components/outerWorld/SearchWorldForm";
import SearchWorldTable from "@/components/outerWorld/SearchWorldTable";
export default {
  data() {
    return {};
  },
  components: {
    SearchWorldForm,
    SearchWorldTable,
  },
  methods: {
    goAddWorld() {
      this.$router.push("/world/worldManage/addWorld");
    },
  },
};
</script>
<style lang="scss" scoped>
.btns {
  background: #fff;
  padding-top: 24px;
  padding-left: 20px;
}
</style>
